package com.myapp.tools.dbbuilder;

import com.myapp.tools.bean.ToolsConfig;
import com.myapp.tools.interfaces.ITool;

public class DB implements ITool {

	@Override
	public String getDescribe() {
		return "自动生成数据库操作类";
	}

	@Override
	public boolean run(String[] args) {
		String path = ToolsConfig.appToolsConfigBean.getBase_Path() + "/"
				+ ToolsConfig.appToolsConfigBean.getDB_Path();
		DBParse db = new DBParse();
		db.parseAllTable(path);
		return false;
	}

}
